package com.ruoyi.project.system.data.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 busi_income_data
 * 
 * @author ruoyi
 * @date 2023-02-28
 */
public class BusiIncomeData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收入数据表id */
    private Integer id;

    /** 户编号 */
    @Excel(name = "户编号")
    private String fid;

    /** 自然村 */
    @Excel(name = "自然村")
    private Integer natVillage;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 生产经营性收入 */
    @Excel(name = "生产经营性收入")
    private BigDecimal opIncome;

    /** 财产性收入 */
    @Excel(name = "财产性收入")
    private BigDecimal propertyIncome;

    /** 工资性收入 */
    @Excel(name = "工资性收入")
    private BigDecimal salaryIncome;

    /** 转移性收入 */
    @Excel(name = "转移性收入")
    private BigDecimal transferIncome;

    /** 总收入 */
    @Excel(name = "总收入")
    private BigDecimal sumIncome;

    /** 生产经营性支出 */
    @Excel(name = "生产经营性支出")
    private BigDecimal expense;

    /** 人均纯收入 */
    @Excel(name = "人均纯收入")
    private BigDecimal avgIncome;

    /** 所属年份 */
    @Excel(name = "所属年份")
    private Integer reportYear;

    /** 登记管理员账号 */
    @Excel(name = "登记管理员账号")
    private Integer userId;

    /** 数据状态(0-可修改 1-封停) */
    @Excel(name = "数据状态(0-可修改 1-封停)")
    private Integer state;

    /** 操作时间 */
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date opTime;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setFid(String fid)
    {
        this.fid = fid;
    }

    public String getFid()
    {
        return fid;
    }
    public void setOpIncome(BigDecimal opIncome)
    {
        this.opIncome = opIncome;
    }

    public void setNatVillage(Integer natVillage) { this.natVillage = natVillage; }
    public Integer getNatVillage() { return natVillage; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getIdCard() { return idCard; }
    public void setIdCard(String idCard) { this.idCard = idCard; }

    public BigDecimal getOpIncome()
    {
        return opIncome;
    }
    public void setPropertyIncome(BigDecimal propertyIncome)
    {
        this.propertyIncome = propertyIncome;
    }

    public BigDecimal getPropertyIncome()
    {
        return propertyIncome;
    }
    public void setSalaryIncome(BigDecimal salaryIncome)
    {
        this.salaryIncome = salaryIncome;
    }

    public BigDecimal getSalaryIncome()
    {
        return salaryIncome;
    }
    public void setTransferIncome(BigDecimal transferIncome)
    {
        this.transferIncome = transferIncome;
    }

    public BigDecimal getTransferIncome()
    {
        return transferIncome;
    }
    public void setSumIncome(BigDecimal sumIncome)
    {
        this.sumIncome = sumIncome;
    }

    public BigDecimal getSumIncome()
    {
        return sumIncome;
    }
    public void setExpense(BigDecimal expense)
    {
        this.expense = expense;
    }

    public BigDecimal getExpense()
    {
        return expense;
    }
    public void setAvgIncome(BigDecimal avgIncome)
    {
        this.avgIncome = avgIncome;
    }

    public BigDecimal getAvgIncome()
    {
        return avgIncome;
    }
    public void setReportYear(Integer reportYear)
    {
        this.reportYear = reportYear;
    }

    public Integer getReportYear()
    {
        return reportYear;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }
    public void setOpTime(Date opTime)
    {
        this.opTime = opTime;
    }

    public Date getOpTime()
    {
        return opTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fid", getFid())
            .append("opIncome", getOpIncome())
            .append("propertyIncome", getPropertyIncome())
            .append("salaryIncome", getSalaryIncome())
            .append("transferIncome", getTransferIncome())
            .append("sumIncome", getSumIncome())
            .append("expense", getExpense())
            .append("avgIncome", getAvgIncome())
            .append("reportYear", getReportYear())
            .append("userId", getUserId())
            .append("state", getState())
            .append("opTime", getOpTime())
                .append("natVillage", getNatVillage())
                .append("name", getName())
                .append("idCard", getIdCard())
            .toString();
    }
}
